/**
 * 将另外的两个bean集中到一个Bean中
 */
package org.whuims.pois.action.result;

import org.apache.struts.action.ActionForm;

/**
 * @author hysk34
 *
 * 2010-10-30
 */
public class MainPageBean extends ActionForm{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4128176834441429841L;
	//两类相同的地方
	private long id;
	private String titleContent;
	private String titleLink;
	private String absText;
	private String siteName;//发放该条新闻的站点名
	private String newsTime;
	private String similarId;
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the titleContent
	 */
	public String getTitleContent() {
		return titleContent;
	}
	/**
	 * @param titleContent the titleContent to set
	 */
	public void setTitleContent(String titleContent) {
		this.titleContent = titleContent;
	}
	/**
	 * @return the titleLink
	 */
	public String getTitleLink() {
		return titleLink;
	}
	/**
	 * @param titleLink the titleLink to set
	 */
	public void setTitleLink(String titleLink) {
		this.titleLink = titleLink;
	}
	/**
	 * @return the absText
	 */
	public String getAbsText() {
		return absText;
	}
	/**
	 * @param absText the absText to set
	 */
	public void setAbsText(String absText) {
		this.absText = absText;
	}
	/**
	 * @return the siteName
	 */
	public String getSiteName() {
		return siteName;
	}
	/**
	 * @param siteName the siteName to set
	 */
	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}
	/**
	 * @return the newsTime
	 */
	public String getNewsTime() {
		return newsTime;
	}
	/**
	 * @param newsTime the newsTime to set
	 */
	public void setNewsTime(String newsTime) {
		this.newsTime = newsTime;
	}
	/**
	 * @return the similarId
	 */
	public String getSimilarId() {
		return similarId;
	}
	/**
	 * @param similarId the similarId to set
	 */
	public void setSimilarId(String similarId) {
		this.similarId = similarId;
	}
	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}
	/**
	 * @param count the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}
	private int count;//相似新闻记录个数
}
